package cn.tedu.dictionary.base.reponse;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Data
public class JsonResult {
    private Integer code=0;
    private String message="ok";
    private Object data;
    public JsonResult() {
    }
    public JsonResult(String message) {
        this.message=message;
    }
    public JsonResult(Integer code, String message) {
        this.code=code;
        this.message=message;
    }
    public JsonResult(Object data) {
        this.data=data;
    }
}
